<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

<!--    <div class="form-group">-->
<!--        <label class="control-label col-xs-12 col-sm-2">{:__('User_check_id')}:</label>-->
<!--        <div class="col-xs-12 col-sm-8">-->
<!--            <input id="c-user_check_id" data-rule="required" data-source="user/check/index" class="form-control selectpage" name="row[user_check_id]" type="text" value="{$row.user_check_id|htmlentities}">-->
<!--        </div>-->
<!--    </div>-->
<!--    <div class="form-group">-->
<!--        <label class="control-label col-xs-12 col-sm-2">{:__('Mechanism_category_fenleiid')}:</label>-->
<!--        <div class="col-xs-12 col-sm-8">-->
<!--            <input id="c-mechanism_category_fenleiid" class="form-control" name="row[mechanism_category_fenleiid]" type="number" value="{$row.mechanism_category_fenleiid|htmlentities}">-->
<!--        </div>-->
<!--    </div>-->
<!--    <div class="form-group">-->
<!--        <label class="control-label col-xs-12 col-sm-2">{:__('Mechanism_category_topid')}:</label>-->
<!--        <div class="col-xs-12 col-sm-8">-->
<!--            <input id="c-mechanism_category_topid" class="form-control" name="row[mechanism_category_topid]" type="number" value="{$row.mechanism_category_topid|htmlentities}">-->
<!--        </div>-->
<!--    </div>-->
<!--    <div class="form-group">-->
<!--        <label class="control-label col-xs-12 col-sm-2">{:__('Mechanism_category_id')}:</label>-->
<!--        <div class="col-xs-12 col-sm-8">-->
<!--            <input id="c-mechanism_category_id" data-rule="required" data-source="mechanism/category/index" class="form-control selectpage" name="row[mechanism_category_id]" type="text" value="{$row.mechanism_category_id|htmlentities}">-->
<!--        </div>-->
<!--    </div>-->

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('机构/分类/专业/级别')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="form-inline" data-toggle="cxselect" data-selects="admin,hangye,zhuanye,jibie">
                <select class="admin form-control" data-rule="required" name="row[user_check_id]" data-url="ajax/usercheck">
                    <option value="{$row.user_check_id}" selected=""></option>
                </select>
                <select class="hangye form-control" data-rule="required" name="row[mechanism_category_fenleiid]" data-query-name="user_check_id" data-url="ajax/mechanismCategory">
                    <option value="{$row.mechanism_category_fenleiid}" selected=""></option>
                </select>
                <select class="zhuanye form-control" data-rule="required" name="row[mechanism_category_topid]" data-query-name="mechanism_category_id" data-url="ajax/mechanismCategory1">
                    <option value="{$row.mechanism_category_topid}" selected=""></option>
                </select>
                <select class="jibie form-control" data-rule="required" name="row[mechanism_category_id]" data-query-name="mechanism_category_id" data-url="ajax/mechanismCategory2">
                    <option value="{$row.mechanism_category_id}" selected=""></option>
                </select>
            </div>
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Desc_content')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-desc_content" class="form-control editor" rows="5" name="row[desc_content]" cols="50">{$row.desc_content|htmlentities}</textarea>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Student_content')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-student_content" class="form-control editor" rows="5" name="row[student_content]" cols="50">{$row.student_content|htmlentities}</textarea>
        </div>
    </div>
    <div class="form-group" style="display: none">
        <label class="control-label col-xs-12 col-sm-2">{:__('Weigh')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-weigh" class="form-control" name="row[weigh]" type="number" value="{$row.weigh|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('图片')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-image" class="form-control" size="50" name="row[image]" type="text" value="{$row.image|htmlentities}">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="faupload-image" class="btn btn-danger faupload" data-input-id="c-image" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp,image/webp" data-multiple="false" data-preview-id="p-image"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-image" class="btn btn-primary fachoose" data-input-id="c-image" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right" for="c-image"></span>
            </div>
            <ul class="row list-inline faupload-preview" id="p-image"></ul>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Is_commend')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-is_commend" data-rule="required" class="form-control selectpicker" name="row[is_commend]">
                {foreach name="isCommendList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.is_commend"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
        <div class="col-xs-12 col-sm-8">
            
            <div class="radio">
            {foreach name="statusList" item="vo"}
            <label for="row[status]-{$key}"><input id="row[status]-{$key}" name="row[status]" type="radio" value="{$key}" {in name="key" value="$row.status"}checked{/in} /> {$vo}</label> 
            {/foreach}
            </div>

        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
        </div>
    </div>
</form>
